package org.lboot.llog.config;

import org.lboot.llog.loader.LLogConfig;
import org.lboot.llog.provider.DefaultLLogConfig;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;

/**
 * 日志服务配置
 */
@SpringBootConfiguration
public class LLogServiceConfig {
    @Bean
    @ConditionalOnMissingBean(value = LLogConfig.class)
    public LLogConfig lLogConfig(){
        return new DefaultLLogConfig();
    }

}
